
<%@ page import="sige.Semestre" %>
<%@ page import="sige.AnoLetivo" %>


<div class="control-group" >
  <label  class="control-label" for="anoLetivo.datas">
    <g:message code="anoLetivo.datas.label" default="Datas" />
  </label> 
  <div class="controls">
    <g:textField name="dataDeInicio" class="span2" readOnly="readOnly" 
                 value="${formatDate(format:'dd-MM-yyyy',date: semestreInstance?.ano?.dataDeInicio)}"/> 
    - 
    <g:textField name="dataDeInicio" class="span2" readOnly="readOnly" 
                 value="${formatDate(format:'dd-MM-yyyy',date: semestreInstance?.ano?.dataDeFechamento)}"/>
  </div> 
</div>

<!-------------------------------SEMESTRE_1---------------------------------->
<div class="control-group" >
    <label  class="control-label" for="semestre1">
    </label>
    <div class="controls" > 
        <h5>
          <g:message code="semestre.dados1.label" default="Datas do 1° Semestre" />
        </h5>
    </div>
</div>

<div class="control-group" >
	 <label  class="control-label" for="dataIniPriSem">
		<g:message code="semestre.dataDeInicio.label" default="Data de Início" />
		<span class="required-indicator">*</span>
	</label> 
 	 <div class="controls"> 
	 <g:myDatePicker name="dataDeInicio" precision="day"  value="${semestreInstance?.dataDeInicio}"  />
	 </div> 
 </div>

<div class="control-group" >
	 <label  class="control-label" for="dataFecPriSem">
		<g:message code="semestre.dataDeFechamento.label" default="Data De Fechamento" />
		<span class="required-indicator">*</span>
	</label> 
 	 <div class="controls">
           <g:myDatePicker  precision="day" name="dataDeFechamento" value="${semestreInstance?.dataDeFechamento}"  />
	 </div> 
 </div>